<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>get/post servlet</title>
</head>
<body>
	<form action="servlet/GetPostServlet" method="GET">
		用户名: <input type=text name=name1 value=""> 密码: <input
			type=password name=pw1 value=""><br> <input
			type="submit" value="使用GET提交"> <br>
	</form>
	-----------------------------------------------------------------------------
	<br></br>
	<form action="servlet/GetPostServlet" method="POST">
		用户名: <input type=text name=name2 value=""> 密码: <input
			type=password name=pw2 value=""><br> <input
			type="submit" value="使用POST提交">
	</form>
</body>
</html>